A Guide To On-Chain Analysis And How It Works